package bean;

/*
* 这些属性组合在一起可以描述一个检查项目，包括项目名、辅助用药名称、科室、检查室、医生和费用等信息。
* 注意，名称、用药、科室、检查室和医生都不能缺少，同时费用属性为可选项。
* 根据实际需求，还可能需要添加其他属性和约束条件
*
* */
public class check {
    int cid;
    String name;
    String drug;
    String office;
    String checkRoom;
    String doctor;
    String checkFee;
    public check() {
    }

    public check(int cid, String name, String drug, String office, String checkRoom, String doctor, String checkFee) {
        this.cid = cid;
        this.name = name;
        this.drug = drug;
        this.office = office;
        this.checkRoom = checkRoom;
        this.doctor = doctor;
        this.checkFee = checkFee;
    }

    public int getCid() {
        return cid;
    }

    public void setCid(int cid) {
        this.cid = cid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDrug() {
        return drug;
    }

    public void setDrug(String drug) {
        this.drug = drug;
    }

    public String getOffice() {
        return office;
    }

    public void setOffice(String office) {
        this.office = office;
    }

    public String getCheckRoom() {
        return checkRoom;
    }

    public void setCheckRoom(String checkRoom) {
        this.checkRoom = checkRoom;
    }

    public String getDoctor() {
        return doctor;
    }

    public void setDoctor(String doctor) {
        this.doctor = doctor;
    }

    public String getCheckFee() {
        return checkFee;
    }

    public void setCheckFee(String checkFee) {
        this.checkFee = checkFee;
    }

    @Override
    public String toString() {
        return "check{" +
                "cid=" + cid +
                ", name='" + name + '\'' +
                ", drug='" + drug + '\'' +
                ", office='" + office + '\'' +
                ", checkRoom='" + checkRoom + '\'' +
                ", doctor='" + doctor + '\'' +
                ", checkFee='" + checkFee + '\'' +
                '}';
    }
}
